package com.tencent.stat.event;

import android.content.Context;
import com.tencent.stat.StatAccount;
import com.tencent.stat.StatSpecifyReportedInfo;
import com.tencent.stat.common.Util;
import org.json.JSONObject;

public class a extends e
{
  private StatAccount a = null;

  public a(Context paramContext, int paramInt, StatAccount paramStatAccount, StatSpecifyReportedInfo paramStatSpecifyReportedInfo)
  {
    super(paramContext, paramInt, paramStatSpecifyReportedInfo);
    this.a = paramStatAccount;
  }

  public EventType a()
  {
    return EventType.ADDITION;
  }

  public boolean a(JSONObject paramJSONObject)
  {
    Util.jsonPut(paramJSONObject, "qq", this.a.getAccount());
    paramJSONObject.put("acc", this.a.toJsonString());
    return true;
  }
}